package com.atguigu.admin.service.impl;

import com.atguigu.admin.bean.TbUserInfo;
import com.atguigu.admin.mapper.UserInfoMapper;
import com.atguigu.admin.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoServiceImpl implements UserInfoService {
    @Autowired
    UserInfoMapper userInfoMapper;
    public TbUserInfo getUserInfo(Long id){
        TbUserInfo userInfo = userInfoMapper.getUserInfo(id);
       return userInfo;
    }

}
